#include "zhihuzhidaai.h"

ZhiHuZhiDaAI::ZhiHuZhiDaAI()
{

}

QString ZhiHuZhiDaAI::name()
{
    return "知乎 - 直答";
}

QString ZhiHuZhiDaAI::content(const QString &text)
{
    if (text.trimmed().isEmpty()) {
        return "https://zhida.zhihu.com/";
    }

    return "https://zhida.zhihu.com/search?zhida_source=entity&is_preview=1&q="+ text;
}
